package com.longshihan.module_sample.huazhu.http

import com.longshihan.module_sample.huazhu.mvp.model.entity.AppEntity
import com.longshihan.module_sample.huazhu.mvp.model.entity.HuaZhuJsonObject
import io.reactivex.Observable
import retrofit2.http.GET
import retrofit2.http.Headers
import retrofit2.http.Query

/**
 * Created by LONGHE001.
 * @time 2017/11/21 0021
 * @des
 * @function
 */
interface ApiService {

    @Headers("url_name:huazhu")
    @GET("/local/app/start")
    fun getStart(@Query("resolution") client: String): Observable<HuaZhuJsonObject<AppEntity>>
}